package com.lc.pianostudent.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.lc.pianostudent.R;
import com.zcx.helper.bound.BoundView;

/**
 * Created by Administrator on 2018/6/26.
 */

public class MyWorldActivity extends BaseActivity implements View.OnClickListener{

    @BoundView(value = R.id.constellation_img,isClick = true) private ImageView constellation_img;
    @BoundView(value = R.id.shop_img,isClick = true) private ImageView shop_img;
    @BoundView(value = R.id.my_home,isClick = true) private ImageView my_home;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_my_world);

        setBackTrue();
        initView();
    }

    private void initView(){
        setTitleName("我的世界");
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()){
            case R.id.constellation_img:
                startVerifyActivity(ConstellationActivity.class);
                break;

            case R.id.shop_img:
                startVerifyActivity(ShopActivity.class);
                break;

            case R.id.my_home:
                startVerifyActivity(MyHomeActivity.class);
                break;
        }
    }
}
